<%--
  Created by IntelliJ IDEA.
  domain.User: zhjun
  Date: 2024/3/13
  Time: 6:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        html,body{
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: lightgrey;
        }
        .loginTitle{
            font-size: 25px;
            align-self: center;
            margin-bottom: 15px;
            /*letter-spacing: 10px;*/
            text-shadow: 0 0 40px black;
        }
        .loginForm{
            display: flex;
            flex-direction: column;
            background-color: white;
            border-radius: 15px;
            padding: 20px;
        }
        .loginLabel{
            margin-top: 5px;
            margin-bottom: 5px;
            font-size: 15px;
        }
        .loginLabel>label{
            display: flex;
            justify-content: space-between;
            height: 30px;
        }
        .loginButton{
            margin-top: 15px;
            margin-bottom: 5px;
        }
        .loginButton>button{
            width: 100%;
            height: 25px;
        }
        .loginWarn{
            font-size: 13px;
            color: red;
            float: right;
            display: none;
        }
    </style>
</head>
<body>
<form class="loginForm" action="login" method="get">
    <div class="loginTitle">
        <span>登录</span>
    </div>
    <div class="loginLabel">
        <label>
            <span>用户名：</span>
            <input type="text" name="username"/>
        </label>
        <span class="loginWarn">用户名重复</span>
    </div>
    <div class="loginLabel">
        <label>
            <span>密码：</span>
            <input type="password" name="password"/>
        </label>
        <span class="loginWarn">密码不符合要求</span>
    </div>
    <div class="loginButton">
        <button type="submit">登录</button>
    </div>
    <div class="loginForget">
        <a href="http://localhost">忘记密码</a>
    </div>
</form>
</body>
</html>